package com.example.demo.request;

import javax.validation.constraints.NotNull;

public class CreateNewTaskFlowRequest {

    @NotNull(message = "任务ID不能为空")
    private Long taskId;

    @NotNull(message = "流程ID不能为空")
    private Long flowId;

    // 数据源ID，可选
    private Long dataSourceId;

    // assignedAt默认为当前时间，不需要前端传递
    // isDistributed和distributedAt默认空缺，不需要前端传递
    
    public Long getTaskId() {
        return taskId;
    }
    
    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
    
    public Long getFlowId() {
        return flowId;
    }
    
    public void setFlowId(Long flowId) {
        this.flowId = flowId;
    }
    
    public Long getDataSourceId() {
        return dataSourceId;
    }
    
    public void setDataSourceId(Long dataSourceId) {
        this.dataSourceId = dataSourceId;
    }
}